package com.project.entity;/*
 *当前的项目名：project
 *当前编辑文件名：CountryInfo
 *当前用户的登录名：17673122251
 *当前系统日期：2022/5/5
 *当前系统时间：16:41
 */

import com.project.util.DBUtil;

import java.io.Serializable;

public class CountryInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *国家代码
     */
    @DBUtil.Id
    private String countryCode;

    /**
     *国家中文名称
     */
    private String countryNameCn;

    /**
     *国家英文名称
     */
    private String countryNameEn;

    /**
     *简称
     */
    private String countryName;

    /**
     *国旗地址存放url
     */
    private String countryUri;

    /**
     *无参构造方法
     */
    public CountryInfo() {
    }

    /**
     *有参构造方法
     */
    public CountryInfo(String countryCode, String countryNameCn, String countryNameEn, String countryName, String countryUri) {
        this.countryCode = countryCode;
        this.countryNameCn = countryNameCn;
        this.countryNameEn = countryNameEn;
        this.countryName = countryName;
        this.countryUri = countryUri;
    }

    /**
     *主键构造方法
     */
    public CountryInfo(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryNameCn() {
        return countryNameCn;
    }

    public void setCountryNameCn(String countryNameCn) {
        this.countryNameCn = countryNameCn;
    }

    public String getCountryNameEn() {
        return countryNameEn;
    }

    public void setCountryNameEn(String countryNameEn) {
        this.countryNameEn = countryNameEn;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getCountryUri() {
        return countryUri;
    }

    public void setCountryUri(String countryUri) {
        this.countryUri = countryUri;
    }

    @Override
    public String toString() {
        return "CountryInfo{" +
                "countryCode='" + countryCode + '\'' +
                ", countryNameCn='" + countryNameCn + '\'' +
                ", countryNameEn='" + countryNameEn + '\'' +
                ", countryName='" + countryName + '\'' +
                ", countryUri='" + countryUri + '\'' +
                '}';
    }
}
